<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container {
            height: 200px;
            width: 200px;
            border: 1px solid #999;
            transform: rotate(90deg);
        }

        .child {
            width: 200px;
            height: 200px;
            overflow: scroll;
            transform: rotate(-90deg);
        }

        p {
            height: 500px;
            background-color: antiquewhite;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="content">
            <p class="c-1">内容1</p>
            <p class="c-2">内容2</p>
            <p class="c-3">内容3</p>
            <p class="c-4">内容4</p>
        </div>
    </div>
</body>

</html>